<template>
    <view>
        <view style="font-weight: bold;margin: 15rpx;padding: 15rpx;background-color: white">CoAP设备</view>
    </view>
</template>

<script>
import { CoapClient } from '@/common/js/iot/coap'

export default {
    data() {
        return {}
    },
    created() {
        const coap = new CoapClient('175.178.217.142', 5683)
        coap.get('temperature')
    }
}
</script>

<style scoped lang="scss">
</style>